package com.zlfund.cat.zjgsmk.adapter;

import android.view.View;

/**
 * Created by chenjun on 2017/8/19.
 */

public abstract class ListViewOneTypeAdapterHelper<T> implements IListViewAdapterHelper<T> {

    private int mResId;

    public ListViewOneTypeAdapterHelper(int resId){
        mResId = resId;
    }

    @Override
    public int getLayoutId(int position) {
        return mResId;
    }

    @Override
    public int getViewTypeCount() {
        return 1;
    }

    @Override
    public int getViewTypeAtPosition(int position) {
        return 0;
    }
}
